FROM localhost/alpine:v3.21.4

ENV TZ='Asia/Shanghai'
RUN sed -i "s@https://dl-cdn.alpinelinux.org@https://mirrors.aliyun.com@g" /etc/apk/repositories && \
    apk add --no-cache tzdata ca-certificates && \
    cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
    echo "Asia/Shanghai" > /etc/timezone

COPY ./context/aliyun/ /root/
